#include "event.hpp"

namespace sdl_engine {

EventMouseButtonDown::EventMouseButtonDown(const Point& position,
                                           MouseButton button)
    : position_(position), button_(button) {}

EventMouseButtonUp::EventMouseButtonUp(const Point& position,
                                       MouseButton button)
    : position_(position), button_(button) {}

EventMouseMotion::EventMouseMotion(const Point& position,
                                   const Point& offset)
    : position_(position), offset_(offset) {}

EventKeyDown::EventKeyDown(SDL_Keycode key) : key_(key) {}

EventKeyUp::EventKeyUp(SDL_Keycode key) : key_(key) {}

EventWindowResize::EventWindowResize(const sdl_engine::Size& size)
    : size_(size) {}

EventTouchFinger::EventTouchFinger(const Point& point,
                                   const FPoint& offset,
                                   float pressure)
    : position_(point), offset_(offset), pressure_(pressure) {}

EventMultiGesture::EventMultiGesture(float thetaOffset,
                                     float distOffet,
                                     const Point& center,
                                     u16 fingerNum)
    : theta_(thetaOffset), dist_(distOffet), center_(center), fingerNum_(fingerNum) {}

EventMouseWheel::EventMouseWheel(int value) :value_(value) {}

}
